<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
    #########################################################################################
    # Programmer : nawattapon yoskamtorn						    #
    # Email	: contact@nawattapon.com						    #
    # Website	: http://www.nawattapon.com						    #
    #########################################################################################
    
    class User_Model extends Initmodel
    {
        function __construct()
        {
            parent::__construct();
            $this->set_table_name('fb_users');
        }
        
        function insert_data($data)
        {
            return $this->insert_record($data);
        }
        
        function get_data($where=array() , $full=FALSE)
        {
            $this->set_where($where);
            return $this->load_record($full);
        }
        
        function get_regis_info($where=array() , $full=FALSE)
        {
            $this->set_table_name('fb_register');
            $this->set_where($where);
            return $this->load_record($full);
        }
    }